package com.cn.qtms.controller;//类注释设置模板

import com.cn.qtms.base.controller.BaseController;
import com.cn.qtms.base.service.BaseService;
import com.cn.qtms.entity.TmGoodsInfo;
import com.cn.qtms.service.TmGoodsInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Name:TmGoodsInfoController
 * @Description:
 * @Author: zhangyang
 * @Date: 2019-12-25 19:25
 **/
@RestController
@RequestMapping("goods-info")
public class TmGoodsInfoController extends BaseController<TmGoodsInfo, Long> {
    @Autowired
    private TmGoodsInfoService service;

    @Override
    protected BaseService<TmGoodsInfo, Long> getService() {
        return service;
    }
}
